<include file="Public:pagerForm" />

<div class="pageHeader">
	<form rel="pagerForm" onsubmit="return navTabSearch(this);" action="__URL__" method="post">
	<div class="searchBar">
		<ul class="searchContent">
			<li>
				<label>组名：</label>
				<input type="text" name="name" />
			</li>
		</ul>
		<div class="subBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">查询</button></div></div></li>
			</ul>
		</div>
	</div>
	</form>
</div>

<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a width="800" class="add" mask="true" target="dialog" href="/Admin/index.php/Expand/Authoritysadd"><span>新增</span></a></li>
			<li><a width="800" height="480" class="edit" href="/Admin/index.php/Expand/Authoritysed/id/{sid_role}" target="dialog" mask="true" warn="请选择栏目！"><span>编辑</span></a></li>
			<li><a class="delete" href="/Admin/index.php/Expand/Authoritysdel/id/{sid_role}/navTabId/__MODULE__" target="ajaxTodo" title="你确定要删除吗？" warn="请选择栏目！"><span>删除</span></a></li>
			<li><a width="800" height="480" class="add" href="/Admin/index.php/Expand/Authoritysset/id/{sid_role}" target="dialog" mask="true"><span>权限设置</span></a></li>
		</ul>
	</div>

	<table class="table" width="100%" layoutH="98">
		<thead>
		<tr>
		<th align='center' width="5%">排序</th>
		<th align='center' width="5%">ID</th>
		<th align='center' width="15%">建立时间/更新时间</th>
		<th align="left" width="15%">角色名称</th>
		<th align="left" width="30%">角色描述</th>
		<th align="left" width="5%">状态</th>
		</tr>
		</thead>
<tbody>
<volist name="role" id="vre">
	<tr target="sid_role" rel="{$vre.role_id}">
		<td align='center'><input name='listorders[{$vre.sort}]' type='text' size='3' value='{$vre.sort}' class="input-text-c"></td>
		<td align='center'>{$vre.role_id}</td>
		<td align='center'>{$vre.input_time|date="Y-m-d",###}/{$vre.input_times|date="Y-m-d",###}</td>
		<td align="left">{$vre.name}</td>
		<td align="left"><if condition="$vre.content eq '' ">无<else/>{$vre.content}</if></td>
		<td align="left"><if condition="$vre.status eq 1"><font color="red">√</font><else/><font color="blue">×</font></if></td>
	</tr>
</volist>
</tbody>
</table>

</div>
